<?php 
namespace addons\auxiliary\Model;
use Think\Model;
class Auxiliary extends Model{

	/*自动完成*/
	protected $_auto = array(
		array('uid','session',self::MODEL_INSERT,'function','user_auth.uid'),
		array('aid','getAid',self::MODEL_INSERT,'callback'),
		array('number',1,self::MODEL_INSERT,'string'),
		array('type','getType',self::MODEL_INSERT,'callback'),
		array('start_time','time',self::MODEL_INSERT,'function'),
	);

	/*自动验证*/
	protected $_validate = array();

	/*获取AID*/
	protected function getAid(){
		return I('get.aid');
	}

	/*获取TypeD*/
	protected function getType(){
		return I('get.type');
	}
}